package net.maku.module.organization.convert;

import net.maku.module.organization.entity.WorkplaceEntity;
import net.maku.module.organization.vo.WorkplaceVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业务_工作地点
 *
 * @author
 */
@Mapper
public interface WorkplaceConvert {
    WorkplaceConvert INSTANCE = Mappers.getMapper(WorkplaceConvert.class);

    WorkplaceEntity convert(WorkplaceVO vo);

    WorkplaceVO convert(WorkplaceEntity entity);

    List<WorkplaceVO> convertList(List<WorkplaceEntity> list);

}